package com.shell.governor.modules.service;

import com.shell.bee.entity.mvc.RetMsg;
import com.shell.bee.persistence.service.PersistentService;
import com.shell.governor.modules.po.PubDictionary;
import java.util.List;
import java.util.Map;

public abstract interface PubDictionaryService extends PersistentService<PubDictionary> {
	public abstract int saveOrUpdateDictionary(PubDictionary paramPubDictionary);

	public abstract boolean checkCodeUnique(PubDictionary paramPubDictionary);

	public abstract RetMsg setDictionaryStatusWithCascade(PubDictionary paramPubDictionary);

	public abstract int updateResourceStateWithCascade(String paramString1, String paramString2, String paramString3);

	public abstract List<PubDictionary> getAllDicTreeList(PubDictionary paramPubDictionary);

	public abstract Map<String, PubDictionary> getDicMap();

	public abstract PubDictionary findDictionaryByDicId(String paramString);

	public abstract PubDictionary getDictionaryByCode(String paramString);

	public abstract List<PubDictionary> selectChildDictByParentCode(String paramString);
}
